<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/17
 * Time: 15:06
 */
namespace app\index\model;
use think\Model;

class Blog extends Model
{
    protected $autoWriteTimestamp = true;
//    protected $insert = ['status' => 1];
    protected $field = [
        'id' => 'int',
        'creat_time' => 'int',
        'update_time' => 'int',
        'name','title','content','status',
    ];
}